package com.tssm.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SarcSupplier entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SARC_SUPPLIER", schema = "dbo", catalog = "ts")
public class SarcSupplier implements java.io.Serializable {

	private static final long serialVersionUID = -6813881040087353677L;
	private Long supplierid;
	private Long deptid;
	private Long operatorid;
	private String account;
	private String password;
	private String email;
	private String email2;
	private String email3;
	private String supplierCode;
	private String supplierName;
	private String suppliserCargo;
	private String fax;
	private String tel;
	private String name;
	private String sex;
	private String province;
	private String city;
	private String orgCode;
	private Byte accountState;
	private Byte auditState;
	private Date auditTime;
	private String registerFrom;
	private Date registerTime;
	private Date creatTime;
	private Byte status;
	private String class_;
	private String level;
	private Byte ifVerif;
	private Date verifTime;
	private Byte ifInvestigation;
	private Byte ifQuotation;
	private String taxationCert;
	private String businessCert;
	private String productCert;
	private String operateCert;
	private String tdsCert;
	private String msdsCert;
	private String otherCert;
	private String ip;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private Date ts;
	private Long dr;

	// Constructors

	/** default constructor */
	public SarcSupplier() {
	}

	/** full constructor */
	public SarcSupplier(Long deptid, Long operatorid, String account,
			String password, String email, String email2, String email3,
			String supplierCode, String supplierName, String suppliserCargo,
			String fax, String tel, String name, String sex, String province,
			String city, String orgCode, Byte accountState, Byte auditState,
			Date auditTime, String registerFrom, Date registerTime,
			Date creatTime, Byte status, String class_, String level,
			Byte ifVerif, Date verifTime, Byte ifInvestigation,
			Byte ifQuotation, String taxationCert, String businessCert,
			String productCert, String operateCert, String tdsCert,
			String msdsCert, String otherCert, String ip, String def1,
			String def2, String def3, String def4, String def5, String def6,
			String def7, String def8, String def9, Date ts, Long dr) {
		this.deptid = deptid;
		this.operatorid = operatorid;
		this.account = account;
		this.password = password;
		this.email = email;
		this.email2 = email2;
		this.email3 = email3;
		this.supplierCode = supplierCode;
		this.supplierName = supplierName;
		this.suppliserCargo = suppliserCargo;
		this.fax = fax;
		this.tel = tel;
		this.name = name;
		this.sex = sex;
		this.province = province;
		this.city = city;
		this.orgCode = orgCode;
		this.accountState = accountState;
		this.auditState = auditState;
		this.auditTime = auditTime;
		this.registerFrom = registerFrom;
		this.registerTime = registerTime;
		this.creatTime = creatTime;
		this.status = status;
		this.class_ = class_;
		this.level = level;
		this.ifVerif = ifVerif;
		this.verifTime = verifTime;
		this.ifInvestigation = ifInvestigation;
		this.ifQuotation = ifQuotation;
		this.taxationCert = taxationCert;
		this.businessCert = businessCert;
		this.productCert = productCert;
		this.operateCert = operateCert;
		this.tdsCert = tdsCert;
		this.msdsCert = msdsCert;
		this.otherCert = otherCert;
		this.ip = ip;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.ts = ts;
		this.dr = dr;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "SUPPLIERID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getSupplierid() {
		return this.supplierid;
	}

	public void setSupplierid(Long supplierid) {
		this.supplierid = supplierid;
	}

	@Column(name = "DEPTID", precision = 18, scale = 0)
	public Long getDeptid() {
		return this.deptid;
	}

	public void setDeptid(Long deptid) {
		this.deptid = deptid;
	}

	@Column(name = "OPERATORID", precision = 18, scale = 0)
	public Long getOperatorid() {
		return this.operatorid;
	}

	public void setOperatorid(Long operatorid) {
		this.operatorid = operatorid;
	}

	@Column(name = "ACCOUNT")
	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	@Column(name = "PASSWORD")
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "EMAIL")
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "EMAIL2")
	public String getEmail2() {
		return this.email2;
	}

	public void setEmail2(String email2) {
		this.email2 = email2;
	}

	@Column(name = "EMAIL3")
	public String getEmail3() {
		return this.email3;
	}

	public void setEmail3(String email3) {
		this.email3 = email3;
	}

	@Column(name = "SUPPLIER_CODE")
	public String getSupplierCode() {
		return this.supplierCode;
	}

	public void setSupplierCode(String supplierCode) {
		this.supplierCode = supplierCode;
	}

	@Column(name = "SUPPLIER_NAME")
	public String getSupplierName() {
		return this.supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	@Column(name = "SUPPLISER_CARGO")
	public String getSuppliserCargo() {
		return this.suppliserCargo;
	}

	public void setSuppliserCargo(String suppliserCargo) {
		this.suppliserCargo = suppliserCargo;
	}

	@Column(name = "FAX")
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	@Column(name = "TEL")
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "NAME")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "SEX")
	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Column(name = "PROVINCE")
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "CITY")
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "ORG_CODE")
	public String getOrgCode() {
		return this.orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	@Column(name = "ACCOUNT_STATE", precision = 2, scale = 0)
	public Byte getAccountState() {
		return this.accountState;
	}

	public void setAccountState(Byte accountState) {
		this.accountState = accountState;
	}

	@Column(name = "AUDIT_STATE", precision = 2, scale = 0)
	public Byte getAuditState() {
		return this.auditState;
	}

	public void setAuditState(Byte auditState) {
		this.auditState = auditState;
	}

	@Column(name = "AUDIT_TIME", length = 23)
	public Date getAuditTime() {
		return this.auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	@Column(name = "REGISTER_FROM")
	public String getRegisterFrom() {
		return this.registerFrom;
	}

	public void setRegisterFrom(String registerFrom) {
		this.registerFrom = registerFrom;
	}

	@Column(name = "REGISTER_TIME", length = 23)
	public Date getRegisterTime() {
		return this.registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	@Column(name = "CREAT_TIME", length = 23)
	public Date getCreatTime() {
		return this.creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	@Column(name = "STATUS", precision = 2, scale = 0)
	public Byte getStatus() {
		return this.status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	@Column(name = "CLASS")
	public String getClass_() {
		return this.class_;
	}

	public void setClass_(String class_) {
		this.class_ = class_;
	}

	@Column(name = "LEVEL")
	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	@Column(name = "IF_VERIF", precision = 2, scale = 0)
	public Byte getIfVerif() {
		return this.ifVerif;
	}

	public void setIfVerif(Byte ifVerif) {
		this.ifVerif = ifVerif;
	}

	@Column(name = "VERIF_TIME", length = 23)
	public Date getVerifTime() {
		return this.verifTime;
	}

	public void setVerifTime(Date verifTime) {
		this.verifTime = verifTime;
	}

	@Column(name = "IF_INVESTIGATION", precision = 2, scale = 0)
	public Byte getIfInvestigation() {
		return this.ifInvestigation;
	}

	public void setIfInvestigation(Byte ifInvestigation) {
		this.ifInvestigation = ifInvestigation;
	}

	@Column(name = "IF_QUOTATION", precision = 2, scale = 0)
	public Byte getIfQuotation() {
		return this.ifQuotation;
	}

	public void setIfQuotation(Byte ifQuotation) {
		this.ifQuotation = ifQuotation;
	}

	@Column(name = "TAXATION_CERT")
	public String getTaxationCert() {
		return this.taxationCert;
	}

	public void setTaxationCert(String taxationCert) {
		this.taxationCert = taxationCert;
	}

	@Column(name = "BUSINESS_CERT")
	public String getBusinessCert() {
		return this.businessCert;
	}

	public void setBusinessCert(String businessCert) {
		this.businessCert = businessCert;
	}

	@Column(name = "PRODUCT_CERT")
	public String getProductCert() {
		return this.productCert;
	}

	public void setProductCert(String productCert) {
		this.productCert = productCert;
	}

	@Column(name = "OPERATE_CERT")
	public String getOperateCert() {
		return this.operateCert;
	}

	public void setOperateCert(String operateCert) {
		this.operateCert = operateCert;
	}

	@Column(name = "TDS_CERT")
	public String getTdsCert() {
		return this.tdsCert;
	}

	public void setTdsCert(String tdsCert) {
		this.tdsCert = tdsCert;
	}

	@Column(name = "MSDS_CERT")
	public String getMsdsCert() {
		return this.msdsCert;
	}

	public void setMsdsCert(String msdsCert) {
		this.msdsCert = msdsCert;
	}

	@Column(name = "OTHER_CERT")
	public String getOtherCert() {
		return this.otherCert;
	}

	public void setOtherCert(String otherCert) {
		this.otherCert = otherCert;
	}

	@Column(name = "IP")
	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Column(name = "DEF1")
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2")
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3")
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4")
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5")
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6")
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7")
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8")
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9")
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "TS", length = 23)
	public Date getTs() {
		return this.ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	@Column(name = "DR", precision = 18, scale = 0)
	public Long getDr() {
		return this.dr;
	}

	public void setDr(Long dr) {
		this.dr = dr;
	}

}